//
//  UserInfoManager.h
//  UserInfoManager
//
//  Created by 谭德鹏 on 2017/11/8.
//  Copyright © 2017年 中泰荣科. All rights reserved.
//
//http://www.jianshu.com/p/cd0e2c17f321

#import <Foundation/Foundation.h>

@interface UserInfoManager : NSObject
//用户的基本信息....
@property (nonatomic,copy) NSString *phone;
@property (nonatomic,copy) NSString * account;
@property (nonatomic,copy) NSString * avatar;
@property (nonatomic,copy) NSString * nickname;
@property (nonatomic,copy) NSString * refresh_token;
@property (nonatomic,copy) NSNumber * expire_in;// = 7200,
@property (nonatomic,copy) NSString * share;
@property (nonatomic,copy) NSNumber * user_id;// = 1836978103,
@property (nonatomic,copy) NSString * authorize;
@property (nonatomic,copy) NSString * access_token;
@property (nonatomic,copy) NSString * pwd;
@property (nonatomic,copy) NSString * isHuanXing;


/**
 *
 通过单例模式对工具类进行初始化
 *
 */
+ (instancetype)shareUser;
/**
 *
 通过单例模式对工具类进行初始化
 *
 */
+ (void)configInfo:(NSDictionary *)infoDic;
/**
 *
 获取token
 *
 */

+ (NSString *)currentToken;
/**
 *
 获取登陆ID
 *
 */

+ (NSString *)currentId;
/**
 *
 用户退出登录的操作
 *
 */
+ (void)loginOut;



@end
